<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>人力资源管理</title>
		<script src="js/global.js" type="text/javascript" charset="utf-8"></script>
		<script src="js/arrlist.js" type="text/javascript" charset="utf-8"></script>
		<script type="text/javascript">
			var jigou=new Array;
			$(function(){
				$.post("http://127.0.0.1:8080/selectfindAll", {
				}, function(res) {
					jigou=res;
				});	
				init();
				sanji();
			} )
			function sanji(){
				$('#eOrgyi').combobox({    
				    url:'http://127.0.0.1:8080/selectbyfu?oParent=0',    
				    valueField:'oid',    
				    textField:'oname',
				    onChange:function(newValue, oldValue){
				    	$('#eOrger').combobox({    
						    url:'http://127.0.0.1:8080/selectbyfu?oParent='+newValue,    
						    valueField:'oid',    
						    textField:'oname',
						    onChange:function(newValue, oldValue){
						    	$('#eOrgsan').combobox({    
								    url:'http://127.0.0.1:8080/selectbyfu?oParent='+newValue,    
								    valueField:'oid',    
								    textField:'oname'
								});
						    }
						});  
				    	
				    }
				}); 
			}
			//分页添加查找
			function init() { 
				var eOrgyi  = $("#eOrgyi" ).combobox('getValue');
					if(eOrgyi=="--请选择--"){
						eOrgyi=0;
					}
					var eOrger  = $("#eOrger" ).combobox('getValue');
					if(eOrger=="--请选择--"){
						eOrger=0;
					}
					var eOrgsan  = $("#eOrgsan" ).combobox('getValue');
					if(eOrgsan=="--请选择--"){
						eOrgsan=0;	
					}
				
				$("#emptab").datagrid({
					url: 'http://127.0.0.1:8080/findAllEmployee', 
					method:"post",
					pagination:true,
				    toolbar:"#ss",
					queryParams:{
						eYongchu:1,
						eOrgyi:eOrgyi,
						eOrger:eOrger,
						eOrgsan:eOrgsan
					}
				});
				$("#ss").form("reset");
			}
			
			//设置
			function fuhe(value, row, index) {
				return  '<a href="javascript:void(0)" class="easyui-linkbutton" onclick="deleteEmp('+index+')">删除和恢复</a> <a href="javascript:void(0)" class="easyui-linkbutton" onclick="updateEmp('+index+')">修改</a> <a href="javascript:void(0)" class="easyui-linkbutton" onclick="updateEmp('+index+')">复核</a>';
			}
			function xingbie(value, row, index){
				return value==1?"男":"女";
			}
			function zhuangtai(value, row, index){
				if(value==1){
					return "未审核";
				}else if (value==2) {
					return "正常";
				} else if(value==3){
					return "不合适";
				}else if(value==4){
					return "已删除";
				}else{
					return "未知";
				}
			}
			function jigoua(value, row, index){
				
				for (var i=0;i<=jigou.length;i++){
					if(value==jigou[i].oid){
						return jigou[i].oname;
					}
				}
			}
			
			//删除
			function deleteEmp(index) {
				var data = $("#emptab").datagrid("getData"); 
				var row = data.rows[index]; 
				if(row.etype==4){
					$.messager.confirm('确认', '您确认想要恢复员工记录吗？', function(r) {
						if(r) { 
							$.post("http://127.0.0.1:8080/updateeTypeByeId", {
								eId:row.eid,
								eType: 2,
							}, function(res) {
								if(res==1){
									alert("恢复成功");
									$("#emptab").datagrid("load");
								}
							});
						}
					});
				}else {
					$.messager.confirm('确认', '您确认想要删除记录吗？', function(r) {
						if(r) { 
							if(row.etype==1){
								alert("待复核的员工不可删除");
							}else{
								$.post("http://127.0.0.1:8080/updateeTypeByeId", {
									eId:row.eid,
									eType: 4,
								}, function(res) {
									if(res==1){
										alert("删除成功");
										$("#emptab").datagrid("load");
									}
								});
							}
						}
					});
				}

			}
			//打开增加面板
			function insertEmp(index) {
				$("#insertEmp_window").window("open");    
				$('#yijigouadd').combobox({    
				    url:'http://127.0.0.1:8080/selectbyfu?oParent=0',    
				    valueField:'oid',    
				    textField:'oname',
				    onChange:function(newValue, oldValue){
				    	$('#erjigouadd').combobox({    
						    url:'http://127.0.0.1:8080/selectbyfu?oParent='+newValue,    
						    valueField:'oid',    
						    textField:'oname',
						    onChange:function(newValue, oldValue){
						    	$('#sanjigouadd').combobox({    
								    url:'http://127.0.0.1:8080/selectbyfu?oParent='+newValue,    
								    valueField:'oid',    
								    textField:'oname'
								});
						    }
						});  
				    	
				    }
				});  
			}
			function closeUserForm1() {
				$("#insertEmp_window").window("close");
			}
			function submitupdateEmpForm1() {
					var yijigouadd  = $("#yijigouadd" ).combobox('getValue');
					if(yijigouadd=="--请选择--"){
						yijigouadd=0
					}
					var erjigouadd  = $("#erjigouadd" ).combobox('getValue');
					if(erjigouadd=="--请选择--"){
						erjigouadd=0
					}
					var sanjigouadd  = $("#sanjigouadd" ).combobox('getValue');
					if(sanjigouadd=="--请选择--"){
						sanjigouadd=0
					}
					var profesidadd  = $("#profesidadd" ).val();
					var eProfesadd  = $("#eProfesadd" ).val();
					var eZhichengadd  = $("#eZhichengadd" ).val();
					var eNameadd  = $("#eNameadd" ).val();
					var eSexadd  = $("#eSexadd" ).combobox('getValue');
					if(eSexadd=="--请选择--"){
						eSexadd=0
					}
					var eEmailadd  = $("#eEmailadd" ).val();
					var ePhoneadd  = $("#ePhoneadd" ).val();
					var eQqadd  = $("#eQqadd" ).val();
					var eCellphoneadd  = $("#eCellphoneadd" ).val();
					var eAddressadd  = $("#eAddressadd" ).val();
					var ePostcodeadd  = $("#ePostcodeadd" ).val();
					var eNationalityadd  = $("#eNationalityadd" ).combobox('getValue');
					var eBirthplaceadd  = $("#eBirthplaceadd" ).val();
					var eBirthdayadd  = $("#eBirthdayadd" ).datebox('getValue');
					var eNationadd  = $("#eNationadd" ).val();
					var efaithadd  = $("#efaithadd" ).val();
					var epoliticsadd  = $("#epoliticsadd" ).val();
					var eNoadd  = $("#eNoadd" ).val();
					var eSsnadd  = $("#eSsnadd" ).val();
					var eAgeadd  = $("#eAgeadd" ).val();
					var eEducationadd  = $("#eEducationadd" ).val();
					var eEducationageadd  = $("#eEducationageadd" ).val();
					var eMajoradd  = $("#eMajoradd" ).val();
					var eRemuneraadd  = $("#eRemuneraadd" ).val();
					var eNatixisadd  = $("#eNatixisadd" ).val();
					var eAccountadd  = $("#eAccountadd" ).val();
					var eRegistrantadd  = $("#eRegistrantadd" ).val();
					var eRegisdateadd  = $("#eRegisdateadd" ).val();
					var eSpecialtyadd  = $("#eSpecialtyadd" ).val();
					var eHobbyadd  = $("#eHobbyadd" ).val();
					var eRecordadd  = $("#eRecordadd" ).val();
					var eFamiliesadd  = $("#eFamiliesadd" ).val();
					var eRemarkadd  = $("#eRemarkadd" ).val();
				$.post(
					"http://127.0.0.1:8080/saveEmployee", {
					eOrgyi:yijigouadd,
					eOrger:erjigouadd,
					eOrgsan:sanjigouadd,
					pId:profesidadd,
					eProfes:eProfesadd,
					eZhicheng:eZhichengadd,
					eName:eNameadd,
					eSex:eSexadd,
					eEmail:eEmailadd,
					ePhone:ePhoneadd,
					eQq:eQqadd,
					eCellphone:eCellphoneadd,
					eAddress:eAddressadd,
					ePostcode:ePostcodeadd,
					eNationality:eNationalityadd,
					eBirthplace:eBirthplaceadd,
					eBirthday:eBirthdayadd,
					eNation:eNationadd,
					efaith:efaithadd,
					epolitics:epoliticsadd,
					eNo:eNoadd,
					eSsn:eSsnadd,
					eAge:eAgeadd,
					eEducation:eEducationadd,
					eEducationage:eEducationageadd,
					eMajor:eMajoradd,
					eRemunera:eRemuneraadd,
					eNatixis:eNatixisadd,
					eAccount:eAccountadd,
					eRegistrant:eRegistrantadd,
					eRegisdate:eRegisdateadd,
					eSpecialty:eSpecialtyadd,
					eHobby:eHobbyadd,
					eRecord:eRecordadd,
					eFamilies:eFamiliesadd,
					eRemark:eRemarkadd,
					eYongchu:1,
					eType:1
					},
					function(res) {
						if(res>0) {
							alert("增加成功"); 
							$("#insertEmp_window").window("close");
							$("#emptab").datagrid("reload");
						}
					}, "json");
			}
			
			//修改
			function updateEmp(index) {
				var data = $("#emptab").datagrid("getData");
				var row = data.rows[index]; 
				$("#updateEmp_window").window("open"); 
				$("#updateEmpForm").form("load", row); 
				
			}

			function closeUserForm() {
				$("#updateEmp_window").window("close");
			}
			function submitupdateUserForm() {
				var yijigou  = $("#yijigou" ).combobox('getValue');
					if(yijigou=="--请选择--"){
						yijigou=0
					}
					var erjigou  = $("#erjigou" ).combobox('getValue');
					if(erjigou=="--请选择--"){
						erjigoua=0
					}
					var sanjigou  = $("#sanjigou" ).combobox('getValue');
					if(sanjigou=="--请选择--"){
						sanjigou=0
					}
					var eid  = $("#eid" ).val();
					var profesid  = $("#profesid" ).val();
					var eProfes  = $("#eprofes" ).val();
					var eZhicheng  = $("#ezhicheng" ).val();
					var eName  = $("#ename" ).val();
					var eSex  = $("#esex" ).combobox('getValue');
					if(eSex=="--请选择--"){
						eSex=0
					}
					var eEmail  = $("#eemail" ).val();
					var ePhone  = $("#ephone" ).val();
					var eQq  = $("#eqq" ).val();
					var eCellphone  = $("#ecellphone" ).val();
					var eAddress  = $("#eaddress" ).val();
					var ePostcode  = $("#epostcode" ).val();
					var eNationality  = $("#enationality" ).combobox('getValue');
					var eBirthplace  = $("#ebirthplace" ).val();
					var eBirthday  = $("#ebirthday" ).datebox('getValue');
					var eNation  = $("#enation" ).val();
					var efaith  = $("#efaith" ).val();
					var epolitics  = $("#epolitics" ).val();
					var eNo  = $("#eno" ).val();
					var eSsn  = $("#essn" ).val();
					var eAge  = $("#eage" ).val();
					var eEducation  = $("#eeducation" ).val();
					var eEducationage  = $("#eeducationage" ).val();
					var eMajor  = $("#emajor" ).val();
					var eRemunera  = $("#eremunera" ).val();
					var eNatixis  = $("#enatixis" ).val();
					var eAccount  = $("#eaccount" ).val();
					var eRegistrant  = $("#eregistrant" ).val();
					var eRegisdate  = $("#eregisdate" ).val();
					var eSpecialty  = $("#especialty" ).val();
					var eHobby  = $("#ehobby" ).val();
					var eRecord  = $("#erecord" ).val();
					var eFamilies  = $("#efamilies" ).val();
					var eRemark  = $("#eremark" ).val();
				$.post(
					"http://127.0.0.1:8080/saveEmployee", {
					eOrgyi:yijigou,
					eOrger:erjigou,
					eOrgsan:sanjigou,
					eId:eid,	
					pId:profesid,
					eProfes:eProfes,
					eZhicheng:eZhicheng,
					eName:eName,
					eSex:eSex,
					eEmail:eEmail,
					ePhone:ePhone,
					eQq:eQq,
					eCellphone:eCellphone,
					eAddress:eAddress,
					ePostcode:ePostcode,
					eNationality:eNationality,
					eBirthplace:eBirthplace,
					eBirthday:eBirthday,
					eNation:eNation,
					efaith:efaith,
					epolitics:epolitics,
					eNo:eNo,
					eSsn:eSsn,
					eAge:eAge,
					eEducation:eEducation,
					eEducationage:eEducationage,
					eMajor:eMajor,
					eRemunera:eRemunera,
					eNatixis:eNatixis,
					eAccount:eAccount,
					eRegistrant:eRegistrant,
					eRegisdate:eRegisdate,
					eSpecialty:eSpecialty,
					eHobby:eHobby,
					eRecord:eRecord,
					eFamilies:eFamilies,
					eRemark:eRemark,
					eYongchu:1,
					eType:2
					},
					function(res) {
						if(res>0) {
							alert("修改成功"); 
							$("#updateEmp_window").window("close");
							$("#emptab").datagrid("reload");
						}
					}, "json");
			}
		</script>
	</head>
	<body>
		<!--查询表单-->
		<form id="ss">
			<table>
				<tr>
					<td>一级机构</td>
					<td>
					<input id="eOrgyi" style="width:100px;"  class="easyui-combobox" value="--请选择--"> 
					</td>
					<td>二级机构</td>
					<td>
					<input id="eOrger" style="width:100px;" class="easyui-combobox" value="--请选择--"> 
					</td>
					<td>三级机构</td>
					<td >
					<input id="eOrgsan" class="easyui-combobox" style="width:100px;" value="--请选择--"> 
					</td>
				</tr>
				<tr>
					<td>职位分类</td>
					<td>
					<input id="yijigouadd" style="width:100px;"  class="easyui-combobox"  name="dept" value="--请选择--"> 
					</td>
					<td>职位名称</td>
					<td>
					<input id="erjigouadd" style="width:100px;" class="easyui-combobox"  name="dept" value="--请选择--"> 
					</td>
					<td>建档时间</td>
					<td >
					<input id="sanjigouadd" class="easyui-combobox" style="width:100px;" name="dept" value="--请选择--"> 
					</td>
				</tr>
			</table>
			<a href="javascript:void(0)" class="easyui-linkbutton" onclick="init()">查找</a>
			<a href="javascript:void(0)" class="easyui-linkbutton" onclick="insertEmp()">增加</a>
			
		</form>
		<!--表格显示-->
		<table id="emptab"   class="easyui-datagrid" data-options="singleSelect:true,collapsible:true,pagination:true,toolbar:'#tb'">
			<thead>
				<tr>
					<th data-options="field:'eid'">编号</th>
					<th data-options="field:'ename'">姓名</th>
					<th data-options="field:'esex',formatter:xingbie">性别</th>
					<th data-options="field:'eorgyi',formatter:jigoua">一级机构</th>
					<th data-options="field:'eorger',formatter:jigoua">二级机构</th>
					<th data-options="field:'eorgsan',formatter:jigoua">三级机构</th>
					<th data-options="field:'eprofes'">职位分类</th>
					<th data-options="field:'ezhicheng'">职位名称</th>
					<th data-options="field:'etype',formatter:zhuangtai">状态</th>
					<th data-options="field:'fuhe',title:'复核',formatter:fuhe"></th
					<!--,formatter:leibie-->
				</tr>
			</thead>
		</table>
		<div id="insertEmp_window" class="easyui-window" title="增加" data-options="modal:true,closed:true,iconCls:'icon-save'" style="width:680px;height:530px;padding:10px;">
			<table>
				<tr>
					<td>一级机构</td>
					<td><!--<input  type="text"  id="yijigouadd" style="width:80px;">-->
					<input id="yijigouadd" style="width:80px;"  class="easyui-combobox"  name="dept" value="--请选择--"> 

					
					</td>
					<td>二级机构</td>
					
					<td><!--<input  type="text"  id="erjigouadd" style="width:80px;">-->
					<input id="erjigouadd" style="width:80px;" class="easyui-combobox"  name="dept" value="--请选择--"> 
					</td>
					<td>三级机构</td>
					<td colspan="2"><!--<input  type="text"  id="sanjigouadd" style="width:160px;">-->
					<input id="sanjigouadd" class="easyui-combobox" style="width:160px;" name="dept" value="--请选择--"> 
					</td>
					<td rowspan="5"><input  type="text"  id="tupian" style="width:80px;height:120px;"></td>
				</tr>
				<tr>
					<td>职位分类</td>
					<td><input  type="text"  id="profesidadd" style="width:80px;"></td>
					<td>职位名称</td>
					<td><input  type="text"  id="eProfesadd" style="width:80px;"></td>
					<td>职称</td>
					<td colspan="2"><input  type="text"  id="eZhichengadd" style="width:160px;"></td>
				</tr>
				<tr>
					<td>姓名</td>
					<td><input  type="text"  id="eNameadd" style="width:80px;"></td>
					<td>性别</td>
					<td>
						<select id="eSexadd" class="easyui-combobox"  style="width:84px;">   
							<option value=""></option>
							<option value="1">男</option>   
							<option value="2">女</option>   
						</select> 
					</td>
					<td>EMATL</td>
					<td colspan="2"> <input  type="text"  id="eEmailadd" style="width:160px;"></td>
				</tr>
				<tr>
					<td>电话</td>
					<td><input  type="text"  id="ePhoneadd" style="width:80px;"></td>
					<td>QQ</td>
					<td><input  type="text"  id="eQqadd" style="width:80px;"></td>
					<td>手机</td>
					<td colspan="2"><input  type="text"  id="eCellphoneadd" style="width:160px;"></td>
				</tr>
				<tr>
					<td>住址</td>
					<td colspan="3"	><input  type="text"  id="eAddressadd" style="width:220px;"></td>
					
					<td>邮编</td>
					<td colspan="2"><input  type="text"  id="ePostcodeadd" style="width:160px;"></td>
				</tr>
				<tr>
					<td>国籍</td>
					<td>
					<select id="eNationalityadd" class="easyui-combobox"  style="width:84px;">  
							<option value="中国大陆">中国大陆</option>  
							<option value="台湾">台湾</option>
                            <option value="菲律宾">菲律宾</option>
                            <option value="美国">美国</option>
                            <option value="日本">日本</option>
                            <option value="丹麦">丹麦</option>
                            <option value="英国">英国</option>
                            <option value="德国">德国</option>
                            <option value="法国">法国</option>
                            <option value="意大利">意大利</option>
					</select> 
					</td>
					<td>出生地</td>
					<td><input  type="text"  id="eBirthplaceadd" style="width:80px;">
					</td>
					<td>生日</td>
					<td>
						<input  id="eBirthdayadd" type= "text" class= "easyui-datebox" style="width:84px;"> </input> 
					</td>
					<td>民族</td>
					<td><select id="eNationadd"    style="width:84px;"> </select></td>
				</tr>
				<tr>
					<td>宗教信仰</td>
					<td>
						<select id="efaithadd"    style="width:84px;"> </select>
					</td>
					<td>政治面貌</td>
					<td><select id="epoliticsadd"    style="width:84px;"> </select></td>
					<td>身份证号</td>
					<td><input  type="text"  id="eNoadd" style="width:80px;"></td>
					<td>社会保障号</td>
					<td><input  type="text"  id="eSsnadd" style="width:80px;"></td>
				</tr>
				<tr>
					<td>年龄</td>
					<td><input  type="text"  id="eAgeadd" style="width:80px;"></td>
					<td>学历</td>
					<td>
						<select id="eEducationadd" class="easyui-combobox"  style="width:84px;">  
							<option value=""></option>  
							<option value="博士">博士</option>  
							<option value="硕士">硕士</option>
                            <option value="本科">本科</option>
                            <option value="大专">大专</option>
                            <option value="中专">中专</option>
                            <option value="高中">高中</option>
                            <option value="初中">初中</option>
                            <option value="小学">小学</option>
                            <option value="其他">其他</option>
					</select>
					</td>
					<td>教育年限</td>
					<td><select id="eEducationageadd"    style="width:84px;"> </select>
					</td>
					<td>学历专业</td>
					<td><input  type="text"   id="eMajoradd" style="width:80px;"></td>
				</tr>
				<tr>
					<td>薪酬标准</td>
					<td><input  type="text"  id="eRemuneraadd" style="width:80px;"></td>
					<td>开户行</td>
					<td><input  type="text"  id="eNatixisadd" style="width:80px;"></td>
					<td>账号</td>
					<td><input  type="text"  id="eAccountadd" style="width:80px;"></td>
					<td>登记人</td>
					<td><input  type="text"  id="eRegistrantadd" style="width:80px;"></td>
				</tr>
				<tr>
					<td>建档时间</td>
					<td><input  type="text"  id="eRegisdateadd" style="width:80px;"></td>
					<td>特长</td>
					<td><input  type="text"  id="eSpecialtyadd" style="width:80px;"></td>
					<td>爱好</td>
					<td><input  type="text"  id="eHobbyadd" style="width:80px;"></td>
					<td> </td>
					<td></td>
				</tr>
				<tr>
					<td>个人履历</td>
					<td colspan="7"><input  type="text"  id="eRecordadd" style="width:530px;height:50px;"></td>
				</tr>
				<tr>
					<td>家庭关系信息</td>
					<td colspan="7"><input  type="text"  id="eFamiliesadd" style="width:530px;height:50px;"></td>
				</tr>
				<tr>
					<td>备注</td>
					<td colspan="7"><input  type="text"  id="eRemarkadd" style="width:530px;height:50px;"></td>
				</tr>
				<tr>
					<td></td>
					<td></td>
					<td colspan="2"><a href="javascript:void(0)" class="easyui-linkbutton"  style="width:80px;"  onclick="submitupdateEmpForm1()">保存</a></td>
					<td colspan="2"><a href="javascript:void(0)" class="easyui-linkbutton"  style="width:80px;" onclick="closeEmpForm1()">取消</a></td>
					<td></td>
					<td></td>
				</tr>
			</table>
					
			
		</div>
		<div id="updateEmp_window" class="easyui-window" title="修改" data-options="modal:true,closed:true,iconCls:'icon-save'" style="width:680px;height:530px;padding:10px;">
			<form id="updateEmpForm">
				<table><input id="eid"  hidden="hidden"    name="eid"> 
					<tr>
						<td>一级机构</td>
						<td><input id="yijigou" style="width:80px;" disabled="disabled"  class="easyui-combobox"  name="eorgyi"> 
						</td>
						<td>二级机构</td>
						
						<td>
						<input id="erjigou" style="width:80px;" disabled="disabled" class="easyui-combobox"  name="eorger"> 
						</td>
						<td>三级机构</td>
						<td colspan="2">
						<input id="sanjigou" class="easyui-combobox" disabled="disabled" style="width:160px;" name="eorgsan"> 
						</td>
						<td rowspan="5"><input  type="text"  id="tupian" style="width:80px;height:120px;"></td>
					</tr>
					<tr>
						<td>职位分类</td>
						<td><input  type="text" disabled="disabled" id="profesid" name="profes" style="width:80px;"></td>
						<td>职位名称</td>
						<td><input  type="text" disabled="disabled" id="eprofes" style="width:80px;"></td>
						<td>职称</td>
						<td colspan="2"><input  type="text" disabled="disabled" name="ezhicheng"  id="ezhicheng" style="width:160px;"></td>
					</tr>
					<tr>
						<td>姓名</td>
						<td><input  type="text" name="ename"  id="ename" style="width:80px;"></td>
						<td>性别</td>
						<td>
							<select id="esex" name="esex" class="easyui-combobox"  style="width:84px;">   
								<option value=""></option>
								<option value="1">男</option>   
								<option value="2">女</option>   
							</select> 
						</td>
						<td>EMATL</td>
						<td colspan="2"> <input  type="text"  id="eemail" name="eemail"  style="width:160px;"></td>
					</tr>
					<tr>
						<td>电话</td>
						<td><input  type="text"  name="ephone"  id="ephone" style="width:80px;"></td>
						<td>QQ</td>
						<td><input  type="text"  name="eqq"  id="eqq" style="width:80px;"></td>
						<td>手机</td>
						<td colspan="2"><input  type="text"  name="ecellphone"  id="ecellphone" style="width:160px;"></td>
					</tr>
					<tr>
						<td>住址</td>
						<td colspan="3"	><input  type="text"  name="eaddress"  id="eaddress" style="width:220px;"></td>
						
						<td>邮编</td>
						<td colspan="2"><input  type="text"  name="epostcode"  id="epostcode" style="width:160px;"></td>
					</tr>
					<tr>
						<td>国籍</td>
						<td>
						<select id="enationality"  name="enationality"  class="easyui-combobox"  style="width:84px;">  
								<option value="中国大陆">中国大陆</option>  
								<option value="台湾">台湾</option>
	                            <option value="菲律宾">菲律宾</option>
	                            <option value="美国">美国</option>
	                            <option value="日本">日本</option>
	                            <option value="丹麦">丹麦</option>
	                            <option value="英国">英国</option>
	                            <option value="德国">德国</option>
	                            <option value="法国">法国</option>
	                            <option value="意大利">意大利</option>
						</select> 
						</td>
						<td>出生地</td>
						<td><input  type="text"  id="ebirthplace"  name="ebirthplace" style="width:80px;">
						</td>
						<td>生日</td>
						<td>
							<input  id="ebirthday"  name="ebirthday" type= "text" class= "easyui-datebox" style="width:84px;"> </input> 
						</td>
						<td>民族</td>
						<td><select id="enation"   name="enation"   style="width:84px;"> </select></td>
					</tr>
					<tr>
						<td>宗教信仰</td>
						<td>
							<select id="efaith"   name="efaith"   style="width:84px;"> </select>
						</td>
						<td>政治面貌</td>
						<td><select id="epolitics"  name="epolitics"    style="width:84px;"> </select></td>
						<td>身份证号</td>
						<td><input  type="text"  name="eno"  id="eno" style="width:80px;"></td>
						<td>社会保障号</td>
						<td><input  type="text"  name="essn"  id="essn" style="width:80px;"></td>
					</tr>
					<tr>
						<td>年龄</td>
						<td><input  type="text"  name="eage"  id="eage" style="width:80px;"></td>
						<td>学历</td>
						<td>
							<select id="eeducation" name="eeducation"  class="easyui-combobox"  style="width:84px;">  
								<option value=""></option>  
								<option value="博士">博士</option>  
								<option value="硕士">硕士</option>
	                            <option value="本科">本科</option>
	                            <option value="大专">大专</option>
	                            <option value="中专">中专</option>
	                            <option value="高中">高中</option>
	                            <option value="初中">初中</option>
	                            <option value="小学">小学</option>
	                            <option value="其他">其他</option>
						</select>
						</td>
						<td>教育年限</td>
						<td><select id="eeducationage"  name="eeducationage"    style="width:84px;"> </select>
						</td>
						<td>学历专业</td>
						<td><input  type="text"  name="emajor"   id="emajor" style="width:80px;"></td>
					</tr>
					<tr>
						<td>薪酬标准</td>
						<td><input  type="text"  name="eremunera"  id="eremunera" style="width:80px;"></td>
						<td>开户行</td>
						<td><input  type="text"  name="enatixis"  id="enatixis" style="width:80px;"></td>
						<td>账号</td>
						<td><input  type="text"  name="eaccount"  id="eaccount" style="width:80px;"></td>
						<td>登记人</td>
						<td><input  type="text"  name="eregistrant"  id="eregistrant" style="width:80px;"></td>
					</tr>
					<tr>
						<td>建档时间</td>
						<td><input  type="text"  name="eregisdate"  id="eregisdate" style="width:80px;"></td>
						<td>特长</td>
						<td><input  type="text"  name="especialty"  id="especialty" style="width:80px;"></td>
						<td>爱好</td>
						<td><input  type="text"  name="ehobby"  id="ehobby" style="width:80px;"></td>
						<td> </td>
						<td></td>
					</tr>
					<tr>
						<td>个人履历</td>
						<td colspan="7"><input  name="erecord"  type="text"  id="erecord" style="width:530px;height:50px;"></td>
					</tr>
					<tr>
						<td>家庭关系信息</td>
						<td colspan="7"><input  name="efamilies"  type="text"  id="efamilies" style="width:530px;height:50px;"></td>
					</tr>
					<tr>
						<td>备注</td>
						<td colspan="7"><input  name="eremark"  type="text"  id="eremark" style="width:530px;height:50px;"></td>
					</tr>
					<tr>
						<td></td>
						<td></td>
						<td colspan="2"><a href="javascript:void(0)" class="easyui-linkbutton" type="button" onclick="submitupdateUserForm()">保存</a></td>
						<td colspan="2"><a href="javascript:void(0)" class="easyui-linkbutton" onclick="closeUserForm()">取消</a></td>
						<td></td>
						<td></td>
					</tr>
				</table>
			</form>
		</div>
		
	</body>
	
</html>
